package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2024/5/13 16:20
 */
@Getter
@Setter
@Table(name = "t_program_duration_time_daily_info")
@TableName(value = "t_program_duration_time_daily_info")
public class ProgramDurationTimeDailyInfoEntity{

    /**
     * 系统id
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 程序名称
     */
    @Column(name = "program_name", type = MySqlTypeConstant.VARCHAR, length = 200)
    @TableField(value = "program_name")
    private String programName;

    /**
     * 日期
     */
    @Column(name = "day_time", type = MySqlTypeConstant.VARCHAR, length = 200)
    @TableField(value = "day_time")
    private String dayTime;

    /**
     * 程序平均耗时
     */
    @Column(name = "avg_time", type = MySqlTypeConstant.BIGINT)
    @TableField(value = "avg_time")
    private Long avgTime;

}
